package com.medical.wechat.mapper;

import com.medical.wechat.model.WechatMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
@Mapper
public interface WechatMenuMapper {

	public void createWechatMenu(WechatMenu wechatMenu);
	
	public void deleteWechatMenuById(String id);
	
	public WechatMenu findById(String id);
	
	public void updateById(WechatMenu wechatMenu);
	
	public List<WechatMenu> findFristMenu(String accountId);
	
	public List<WechatMenu> findByParentId(String parentId);
	
	public List<WechatMenu> findByAccountId(String accountId);
	
	public void deleteByAccountId(String accountId);

}
